package com.xyhy.core.enums.auth;

import cn.hutool.core.collection.CollUtil;
import lombok.AllArgsConstructor;
import com.xyhy.core.base.ToolConstant;

import lombok.Getter;
import com.xyhy.core.base.enums.BaseTagEnum;

import java.util.List;

@Getter
@AllArgsConstructor
public enum EMenuType implements BaseTagEnum {
  FOLDER("目录", ToolConstant.TAG_TYPE.SUCCESS), //
  MENU("菜单", ToolConstant.TAG_TYPE.INFO), //
  BUTTON("按钮", ToolConstant.TAG_TYPE.PRIMARY), //
  ;

  private String text;
  private String tagType;

  public static List<EMenuType> allExcludeButton() {
    return CollUtil.toList(FOLDER, MENU);
  }

}
